#include "singleton.h"
#include <iostream>

using namespace std;

int main()
{
	Singleton *pSingleton1 = Singleton::GetInstance();
	Singleton *pSingleton2 = Singleton::GetInstance();

	cout << (pSingleton1 == pSingleton2) << endl;

	getchar();

    return 0;
}
